package com.example.service;// 通常放在service包下

import org.springframework.stereotype.Service;

@Service
public class UserService {
    public void hello() {
        System.out.println("Hi, UserService");
    }
}